//
//  MJCollectHeadView.m
//  MJVideoPlayer
//
//  Created by 梅杰 on 16/8/16.
//  Copyright © 2016年 梅杰. All rights reserved.
//

#import "MJCollectHeadView.h"

@interface MJCollectHeadView ()

@end
@implementation MJCollectHeadView

- (void) setup{
    UILabel *label = [[UILabel alloc] init];
//    label.font = [UIFont systemFontOfSize:15];
//    label.textColor = [UIColor blackColor];
    [self addSubview:label];
//    label.backgroundColor = [UIColor lightGrayColor];
    self.titleLbl = label;
}

- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self setup];
    }
    return self;
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder{
    if (self = [super initWithCoder:aDecoder]) {
        [self setup];
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.titleLbl.frame = self.bounds;
}
@end
